﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tetris
{
    class Point
    {
        private int _x {get; set;}
        private int _y {get; set;}

        public int x
        {
            get {return _x;}
            set { _x = value; }
        }
        public int y
        {
            get { return _y; }
            set { _y = value; }
        }
        public Point(int x, int y)
        {
            this._x = x;
            this._y = y;
        }
        public void PlusX()
        {
            _x = _x + 1;
        }
        public void MinX()
        {
            _x = _x - 1;
        }
        public void PlusY()
        {
            _y = _y + 1;
        }
    }
}
